package org.shagin.jfin.ui.date.cond;

import java.util.EventObject;

import org.shagin.jfin.date.cond.IDateCondition;

/**
 * The Class DateConditionEvent.
 */
@SuppressWarnings("serial")
public class DateConditionEvent extends EventObject {

    private IDateCondition dateCondition;

    /**
     * Instantiates a new date condition event.
     *
     * @param source the source
     * @param dateCondition the date condition
     */
    public DateConditionEvent(Object source, IDateCondition dateCondition) {
        super(source);
        this.dateCondition = dateCondition;
    }

    /**
     * Gets the date condition.
     *
     * @return the date condition
     */
    public IDateCondition getDateCondition() {
        return dateCondition;
    }

}
